/**
 * 主页js
 */
if (window.location.href == 'http://xfj.jl.gov.cn/' || window.location.href == 'http://xfj.jl.gov.cn/index.html') {
	
	//轮播右边，信访要闻，二级选项卡
	//各个选项名称
	_EsdDynamicTransformationScript.esd6TagNum1 = $("#xfyw_change_t1 a");
	_EsdDynamicTransformationScript.esd6TagNum2 = $("#xfyw_change_t2 a");

	//各个选项中的第一个内容
	_EsdDynamicTransformationScript.esd6TagNum1Content1 = $("#xfyw_change_c1 a:first");
	_EsdDynamicTransformationScript.esd6TagNum2Content1 = $("#xfyw_change_c2 a:first");

	//各个选项中的最后一个内容
	_EsdDynamicTransformationScript.esd6TagNum1ContentN = $("#xfyw_change_c1 a:last");
	_EsdDynamicTransformationScript.esd6TagNum2ContentN = $("#xfyw_change_c2 a:last");

	//第一块
	_EsdDynamicTransformationScript.esd6TagNum1.focus(function (e) {
//		e = $(this).mouseover();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd6TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd6TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd6TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd6TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd6TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd6TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd6TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd6TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd6TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});

	//第二块
	_EsdDynamicTransformationScript.esd6TagNum2.focus(function (e) {
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd6TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd6TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd6TagNum2Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd6TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});

	_EsdDynamicTransformationScript.esd6TagNum2Content1.focus(function () {
		$(this).bind("keydown.keydown_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd6TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd6TagNum2Content1.blur(function () {
		$(this).unbind("keydown.keydown_s2");
	});

	//图片新闻，视频新闻
	//各个选项名称
	_EsdDynamicTransformationScript.esd7TagNum1 = $("#tpxw_t1 a");
	_EsdDynamicTransformationScript.esd7TagNum2 = $("#tpxw_t2 a");

	//各个选项中的第一个内容
	_EsdDynamicTransformationScript.esd7TagNum1Content1 = $("#tpxw_c1 a:first");
	_EsdDynamicTransformationScript.esd7TagNum2Content1 = $("#tpxw_c2 a:first");

	//各个选项中的最后一个内容
	_EsdDynamicTransformationScript.esd7TagNum1ContentN = $("#tpxw_c1 a:last");
	_EsdDynamicTransformationScript.esd7TagNum2ContentN = $("#tpxw_c2 a:last");

	//第一块
	_EsdDynamicTransformationScript.esd7TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd7TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd7TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd7TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd7TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd7TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd7TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});

	//第二块
	_EsdDynamicTransformationScript.esd7TagNum2.focus(function (e) {
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd7TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd7TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum2Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd7TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});

	_EsdDynamicTransformationScript.esd7TagNum2Content1.focus(function () {
		$(this).bind("keydown.keydown_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd7TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd7TagNum2Content1.blur(function () {
		$(this).unbind("keydown.keydown_s2");
	});

	//法律法规，信访条例
	//各个选项名称
	_EsdDynamicTransformationScript.esd8TagNum1 = $("#home_flfg_t1 a");
	_EsdDynamicTransformationScript.esd8TagNum2 = $("#home_flfg_t2 a");

	//各个选项中的第一个内容
	_EsdDynamicTransformationScript.esd8TagNum1Content1 = $("#home_flfg_c1 a:first");
	_EsdDynamicTransformationScript.esd8TagNum2Content1 = $("#home_flfg_c2 a:first");

	//各个选项中的最后一个内容
	_EsdDynamicTransformationScript.esd8TagNum1ContentN = $("#home_flfg_c1 a:last");
	_EsdDynamicTransformationScript.esd8TagNum2ContentN = $("#home_flfg_c2 a:last");

	//第一块
	_EsdDynamicTransformationScript.esd8TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd8TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd8TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd8TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd8TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd8TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd8TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});

	//第二块
	_EsdDynamicTransformationScript.esd8TagNum2.focus(function (e) {
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd8TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd8TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum2Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd8TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});

	_EsdDynamicTransformationScript.esd8TagNum2Content1.focus(function () {
		$(this).bind("keydown.keydown_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd8TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd8TagNum2Content1.blur(function () {
		$(this).unbind("keydown.keydown_s2");
	});

	//制度文件，政策解读
	//各个选项名称
	_EsdDynamicTransformationScript.esd9TagNum1 = $("#zdwj_t1 a");
	_EsdDynamicTransformationScript.esd9TagNum2 = $("#zdwj_t2 a");

	//各个选项中的第一个内容
	_EsdDynamicTransformationScript.esd9TagNum1Content1 = $("#zdwj_c1 a:first");
	_EsdDynamicTransformationScript.esd9TagNum2Content1 = $("#zdwj_c2 a:first");

	//各个选项中的最后一个内容
	_EsdDynamicTransformationScript.esd9TagNum1ContentN = $("#zdwj_c1 a:last");
	_EsdDynamicTransformationScript.esd9TagNum2ContentN = $("#zdwj_c2 a:last");

	//第一块
	_EsdDynamicTransformationScript.esd9TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd9TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd9TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd9TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd9TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd9TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd9TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd9TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd9TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd9TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});

	//第二块
	_EsdDynamicTransformationScript.esd9TagNum2.focus(function (e) {
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd9TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd9TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd9TagNum2Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd9TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});

	_EsdDynamicTransformationScript.esd9TagNum2Content1.focus(function () {
		$(this).bind("keydown.keydown_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd9TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd9TagNum2Content1.blur(function () {
		$(this).unbind("keydown.keydown_s2");
	});

	//发布会，访谈录
	//各个选项名称
	_EsdDynamicTransformationScript.esd10TagNum1 = $("#home_xwfb_t1 a");
	_EsdDynamicTransformationScript.esd10TagNum2 = $("#home_xwfb_t2 a");

	//各个选项中的第一个内容
	_EsdDynamicTransformationScript.esd10TagNum1Content1 = $("#home_xwfb_c1 a:first");
	_EsdDynamicTransformationScript.esd10TagNum2Content1 = $("#home_xwfb_c2 a:first");

	//各个选项中的最后一个内容
	_EsdDynamicTransformationScript.esd10TagNum1ContentN = $("#home_xwfb_c1 a:last");
	_EsdDynamicTransformationScript.esd10TagNum2ContentN = $("#home_xwfb_c2 a:last");

	//第一块
	_EsdDynamicTransformationScript.esd10TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd10TagNum1Content1.focus();
				console.log(document.activeElement);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd10TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd10TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd10TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd10TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd10TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd10TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd10TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd10TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});

	//第二块
	_EsdDynamicTransformationScript.esd10TagNum2.focus(function (e) {
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd10TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd10TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd10TagNum2Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd10TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});

	_EsdDynamicTransformationScript.esd10TagNum2Content1.focus(function () {
		$(this).bind("keydown.keydown_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd10TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd10TagNum2Content1.blur(function () {
		$(this).unbind("keydown.keydown_s2");
	});

	
	
	
	
}